/**
* Linkenstein  - Google Chrome extension for advanced hyperlink copying.
* Copyright (C) 2013  Mykola Bespaliuk
*/

linkenstein.clipboardHolderId = "clipboardholder";

//noinspection JSUnresolvedVariable, JSUnresolvedFunction, JSUnusedGlobalSymbols
var mainMenu = chrome.contextMenus.create( {
    id: "main_menu",
    title: chrome.i18n.getMessage("copy_url"),
    contexts: [ "page", "link", "image", "frame" ]
} ),
frameMenu = chrome.contextMenus.create( {
    id: "frame_menu",
    title: chrome.i18n.getMessage("copy_frame_url"),
    contexts: [ "frame" ]
} );
chrome.contextMenus.onClicked.addListener(linkenstein.initiate);
